package com.zdy.im.user.vo.request;

import com.sixeco.framework.common.api.ApiDesc;
import com.sixeco.framework.http.data.vo.RequestParserVo;

public class GroupFriendRequestVo extends RequestParserVo {

    /** userId 用户id  */
    @ApiDesc(value = "用户id", required = 1)
    private long userId;
    /** friendId 好友id  */
    @ApiDesc(value = "好友id", required = 1)
    private long friendId;
    /** groupId 组id  */
    @ApiDesc(value = "组id", required = 0)
    private long groupId;

    /** groupName 组名  */
    @ApiDesc(value = "组名,如果换组，组名必填", required = 0)
    private String groupName;
    /** remarks 备注  */
    @ApiDesc(value = "备注", required = 0)
    private String remarks;


    public static GroupFriendRequestVo build(){
        return new GroupFriendRequestVo();
    }

    public GroupFriendRequestVo toUserId(long userId) {
        this.userId = userId;
        return this;
    }

    public GroupFriendRequestVo toFriendId(long friendId) {
        this.friendId = friendId;
        return this;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public long getFriendId() {
        return friendId;
    }

    public void setFriendId(long friendId) {
        this.friendId = friendId;
    }

    public GroupFriendRequestVo toGroupId(long groupId) {
        this.groupId = groupId;
        return this;
    }

    public GroupFriendRequestVo toGroupName(String groupName) {
        this.groupName = groupName;
        return this;
    }

    public long getGroupId() {
        return groupId;
    }

    public void setGroupId(long groupId) {
        this.groupId = groupId;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public GroupFriendRequestVo toRemarks(String remarks) {
        this.remarks = remarks;
        return this;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
}
